//
//  Recommend.swift
//  MyCookbook
//
//  Created by liaokylin on 2024/10/14.
//

import SwiftUI

struct Recommend: View {
    private var gridItemLayout = [GridItem(.flexible(),spacing: 0),GridItem(.flexible(),spacing:0)]
    var body: some View {
        ScrollView{
            LazyVGrid(columns: gridItemLayout,spacing: 10) {
                ForEach((0...10),id:\.self) { _ in
                    Teletext()
                }
            }
        }
    }
}

#Preview {
    Recommend()
}
